#ifndef MY_LED_H
#define MY_LED_H

#include <QLabel>
#include "common.h"

class My_led : public QLabel
{
    Q_OBJECT
public:
    enum COLOR: int {
        GREY   = -1,
        RED    = 0,
        GREEN  = 1,
        YELLOW = 2,
        BLUE   = 3,
    };

    My_led(int size, QWidget* parent);
    void set_color(int color);
private:
    int size;

};

#endif // MY_LED_H
